home *** CD-ROM | disk | FTP | other *** search
/ Micromanía: 150 Juegos 2010 / 150Juegos_16.iso / Shareware / Shape Smash / shape-smash.swf / scripts / Code / LIB / _id116.as < prev    next >
Encoding:
Text File  |  2010-05-14  |  701 b   |  35 lines

  1. package Code.LIB
  2. {
  3.    public class _id116
  4.    {
  5.       private var iSeed:uint;
  6.       
  7.       private var iMax:uint;
  8.       
  9.       public function _id116(param1:uint, param2:uint)
  10.       {
  11.          super();
  12.          this.iSeed = param1;
  13.          this.iMax = param2;
  14.       }
  15.       
  16.       public function set _so518(param1:uint) : void
  17.       {
  18.          this.iMax = param1;
  19.       }
  20.       
  21.       public function _qm468(param1:uint) : int
  22.       {
  23.          this.iMax = param1;
  24.          return this._kl780();
  25.       }
  26.       
  27.       public function _kl780() : int
  28.       {
  29.          iSeed = iSeed * 1103515245 + 12345;
  30.          return uint(iSeed / 65536 % (iMax + 1));
  31.       }
  32.    }
  33. }
  34.  
  35.